package com.randao.manage.firstPage;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EntityScan("com.randao.framework.model.domain")//扫描实体类
@MapperScan(basePackages = {"com.randao.manage.firstPage.dao"})
@ComponentScan(basePackages = {"com.randao.api"})//扫描接口
@ComponentScan(basePackages = {"com.randao.framework"})//扫描common包（主要是自定义异常）
@ComponentScan(basePackages = {"com.randao.manage.firstPage"})//扫描本项目下的所有类
public class RdServiceManageHousesApplication {

    public static void main(String[] args) {
        SpringApplication.run(RdServiceManageHousesApplication.class, args);
    }

}
